package lesson3;

public class PriStudent extends Student {
	private String id;
	static String sex;
	public PriStudent(){}
	public PriStudent(String name,String id){
		super(name);
		this.id=id;
	}
	public void show(){
		System.out.println(super.getName()+" "+super.getAge()+" "+this.id+" "+PriStudent.sex);
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}

}
